package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.FightingLog;

/**
 * fightingLogMapper接口
 * 
 * @author ruoyi
 * @date 2025-05-23
 */
public interface FightingLogMapper 
{
    /**
     * 查询fightingLog
     * 
     * @param userName fightingLog主键
     * @return fightingLog
     */
    public FightingLog selectFightingLogByUserName(String userName);

    /**
     * 查询fightingLog列表
     * 
     * @param fightingLog fightingLog
     * @return fightingLog集合
     */
    public List<FightingLog> selectFightingLogList(FightingLog fightingLog);

    /**
     * 新增fightingLog
     * 
     * @param fightingLog fightingLog
     * @return 结果
     */
    public int insertFightingLog(FightingLog fightingLog);

    /**
     * 修改fightingLog
     * 
     * @param fightingLog fightingLog
     * @return 结果
     */
    public int updateFightingLog(FightingLog fightingLog);

    /**
     * 删除fightingLog
     * 
     * @param userName fightingLog主键
     * @return 结果
     */
    public int deleteFightingLogByUserName(String userName);

    /**
     * 批量删除fightingLog
     * 
     * @param userNames 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFightingLogByUserNames(String[] userNames);
}
